<p>Valid only for <code data-lang="svg">&lt;text&gt;</code> subelements.</p>

<p>The <code>text</code> attribute contains the text that should be set on the subelement. If the provided string does not contain any newline characters (<code>'\n'</code>), the text is set directly as the content of the <code data-lang="svg">&lt;text&gt;</code> subelement. Alternatively, if the provided string has multiple lines, each line becomes the content of a <code data-lang="svg">&lt;tspan&gt;</code> child of the <code data-lang="svg">&lt;text&gt;</code> subelement.</p>

<p>If you need the text to be automatically wrapped inside the <code data-lang="svg">&lt;text&gt;</code> subelement, you should use the <code>textWrap</code> <a href="#dia.attributes.textWrap">attribute</a> instead. It can automatically add line breaks into the provided string as necessary, and mark them with newline characters.</p>
